package com.corpgovernment.organization.mapper.budget;

import com.corpgovernment.organization.entity.db.budget.BudgetRecordEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface BudgetRecordMapper  {

    int insertBatchSelective(@Param("entities") List<BudgetRecordEntity> entities);

    List<BudgetRecordEntity> selectByBudgetId(@Param("budgetId") String budgetId);

    List<BudgetRecordEntity> selectByBudgetIds(@Param("budgetIds") List<String> budgetIds);
}